package com.cloud.mapper;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cloud.entity.SysUser;

public interface SysUserMapper extends BaseMapper<SysUser>{
    @Select("select * from sys_user where username = #{username}")
    SysUser selectUserByUsername(@Param("username") String username);
}